package com.pingxx.boot.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pingxx.boot.demo.entity.User;

import java.util.List;

public interface UserService {


    User insert(User user);

    void deleteById(Long id);

    User selectById(Long id);

    User update(User user);

    IPage<User> selectAll(long current, long size);

    List<User> selectAll();

}
